import React, { Component } from 'react'
import ReactDOM from 'react-dom';
import { Modal, Form,Tabs,Radio,Checkbox,Input, Select, Row, Col ,Button} from 'antd';
import { ModalForm } from '../../components'
import { fetchData } from '../../components/AjaxConsumer'
import store from '../../stores'

const confirm = Modal.confirm;
const WrappedAdvancedSearchForm = Form.create()(ModalForm);
const TabPane = Tabs.TabPane;
const Option = Select.Option;

export default class UpdateMdPackagePage extends Component {
    constructor(props) {
        super(props);
        this.state = {
            loading: false,
            visible: false,
            resData: null,
            submitUrl:'/base/data/mdpackage/c',

            packageId: '',
            packageCode: '',
            packageDesc: '',

            InputNum1Value: '',
            InputNum2Value: '',
            InputNum3Value: '',
            InputNum4Value: '',
            InputNum5Value: '',

            InputBzms1Value: '',
            InputBzms2Value: '',
            InputBzms3Value: '',
            InputBzms4Value: '',
            InputBzms5Value: '',

            InputBzcl1Value: '',
            InputBzcl2Value: '',
            InputBzcl3Value: '',
            InputBzcl4Value: '',
            InputBzcl5Value: '',

            InputZx1Value: '',
            InputZx2Value: '',
            InputZx3Value: '',
            InputZx4Value: '',
            InputZx5Value: '',

            InputRk1Value: '',
            InputRk2Value: '',
            InputRk3Value: '',
            InputRk4Value: '',
            InputRk5Value: '',

            InputBh1Value: '',
            InputBh2Value: '',
            InputBh3Value: '',
            InputBh4Value: '',
            InputBh5Value: '',

            InputCk1Value: '',
            InputCk2Value: '',
            InputCk3Value: '',
            InputCk4Value: '',
            InputCk5Value: '',

            InputXl1Value: '',
            InputXl2Value: '',
            InputXl3Value: '',
            InputXl4Value: '',
            InputXl5Value: '',



            InputLength1Value: '',
            InputLength2Value: '',
            InputLength3Value: '',
            InputLength4Value: '',
            InputLength5Value: '',
            InputLength6Value: '',

            InputWidth1Value: '',
            InputWidth2Value: '',
            InputWidth3Value: '',
            InputWidth4Value: '',
            InputWidth5Value: '',
            InputWidth6Value: '',

            InputHeigth1Value: '',
            InputHeigth2Value: '',
            InputHeigth3Value: '',
            InputHeigth4Value: '',
            InputHeigth5Value: '',
            InputHeigth6Value: '',

            InputVolume1Value: '',
            InputVolume2Value: '',
            InputVolume3Value: '',
            InputVolume4Value: '',
            InputVolume5Value: '',
            InputVolume6Value: '',

            InputWeight1Value: '',
            InputWeight2Value: '',
            InputWeight3Value: '',
            InputWeight4Value: '',
            InputWeight5Value: '',
            InputWeight6Value: '',

            InputTI1Value: '',
            InputTI2Value: '',
            InputTI3Value: '',
            InputTI4Value: '',
            InputTI5Value: '',
            InputTI6Value: '',

            InputHI1Value: '',
            InputHI2Value: '',
            InputHI3Value: '',
            InputHI4Value: '',
            InputHI5Value: '',
            InputHI6Value: '',

        };




        //和stroes进行通信挂钩 并绑定解绑事件unsubscribe
        this.unsubscribe = store.listen((storeResData)=>{
            this.setState({
                storeResData: storeResData
            })
        })

        //弹出框的大小 只有'large'和'small'两种值 （必须,输错时默认为large）
        this.formAlerSize = 'large';
        let formAlerSize1 = 'large';
        this.getFormData = [
           ];
    }
    //组件销毁时解绑与stores的监听
    componentWillUnmount(){
        this.unsubscribe();
    }


    handlenum1InputChange = (e) => {
        //console.log('InputNum1Value',e.target.value)
        this.setState({ InputNum1Value: e.target.value });
    }
    handlenum2InputChange = (e) => {
        //console.log('InputNum2Value',e.target.value)
        this.setState({ InputNum2Value: e.target.value });
    }
    handlenum3InputChange = (e) => {
        //console.log('InputNum3Value',e.target.value)
        this.setState({ InputNum3Value: e.target.value });
    }
    handlenum4InputChange = (e) => {
        //console.log('InputNum4Value',e.target.value)
        this.setState({ InputNum4Value: e.target.value });
    }
    handlenum5InputChange = (e) => {
        //console.log('InputNum5Value',e.target.value)
        this.setState({ InputNum5Value: e.target.value });
    }


    handlebzms1InputChange = (e) => {
        //console.log('InputBzms1Value',e.target.value)
        this.setState({ InputBzms1Value: e.target.value });
    }
    handlebzms2InputChange = (e) => {
        //console.log('InputBzms2Value',e.target.value)
        this.setState({ InputBzms2Value: e.target.value });
    }
    handlebzms3InputChange = (e) => {
        //console.log('InputBzms3Value',e.target.value)
        this.setState({ InputBzms3Value: e.target.value });
    }
    handlebzms4InputChange = (e) => {
        //console.log('InputBzms4Value',e.target.value)
        this.setState({ InputBzms4Value: e.target.value });
    }
    handlebzms5InputChange = (e) => {
        //console.log('InputBzms5Value',e.target.value)
        this.setState({ InputBzms5Value: e.target.value });
    }


    handlebzcl1InputChange = (e) => {
        //console.log('InputBzcl1Value',e.target.value)
        this.setState({ InputBzcl1Value: e.target.value });
    }
    handlebzcl2InputChange = (e) => {
        //console.log('InputBzcl2Value',e.target.value)
        this.setState({ InputBzcl2Value: e.target.value });
    }
    handlebzcl3InputChange = (e) => {
        //console.log('InputBzcl3Value',e.target.value)
        this.setState({ InputBzcl3Value: e.target.value });
    }
    handlebzcl4InputChange = (e) => {
        //console.log('InputBzcl4Value',e.target.value)
        this.setState({ InputBzcl4Value: e.target.value });
    }
    handlebzcl5InputChange = (e) => {
        //console.log('InputBzcl5Value',e.target.value)
        this.setState({ InputBzcl5Value: e.target.value });
    }

    handlezx1InputChange = (e) => {
        //console.log('InputZx1Value',e.target.value)
        //this.setState({ InputZx1Value: e.target.value });
        //this.setState({ checked: e.target.checked });
        this.setState({ InputZx1Value: e.target.checked });
    }
    handlezx2InputChange = (e) => {
        //console.log('InputZx2Value',e.target.value)
        this.setState({ InputZx2Value: e.target.checked });
    }
    handlezx3InputChange = (e) => {
        //console.log('InputZx3Value',e.target.value)
        this.setState({ InputZx3Value: e.target.checked});
    }
    handlezx4InputChange = (e) => {
        //console.log('InputZx4Value',e.target.value)
        this.setState({ InputZx4Value: e.target.checked });
    }
    handlezx5InputChange = (e) => {
        //console.log('InputZx5Value',e.target.value)
        this.setState({ InputZx5Value: e.target.checked });
    }

    handlerk1InputChange = (e) => {
        //console.log('InputRk1Value',e.target.value)
        this.setState({ InputRk1Value: e.target.checked });
    }
    handlerk2InputChange = (e) => {
        //console.log('InputRk2Value',e.target.value)
        this.setState({ InputRk2Value: e.target.checked });
    }
    handlerk3InputChange = (e) => {
        //console.log('InputRk3Value',e.target.value)
        this.setState({ InputRk3Value: e.target.checked });
    }
    handlerk4InputChange = (e) => {
        //console.log('InputRk4Value',e.target.value)
        this.setState({ InputRk4Value: e.target.checked });
    }
    handlerk5InputChange = (e) => {
        //console.log('InputRk5Value',e.target.value)
        this.setState({ InputRk5Value: e.target.checked });
    }

    handlebh1InputChange = (e) => {
        //console.log('InputRk1Value',e.target.value)
        this.setState({ InputBh1Value: e.target.checked });
    }
    handlebh2InputChange = (e) => {
        //console.log('InputRk2Value',e.target.value)
        this.setState({ InputBh2Value: e.target.checked });
    }
    handlebh3InputChange = (e) => {
        //console.log('InputRk3Value',e.target.value)
        this.setState({ InputBh3Value: e.target.checked });
    }
    handlebh4InputChange = (e) => {
        //console.log('InputRk4Value',e.target.value)
        this.setState({ InputBh4Value: e.target.checked });
    }
    handlebh5InputChange = (e) => {
        //console.log('InputRk5Value',e.target.value)
        this.setState({ InputBh5Value: e.target.checked });
    }

    handleck1InputChange = (e) => {
        //console.log('InputCk1Value',e.target.value)
        this.setState({ InputCk1Value: e.target.checked });
    }
    handleck2InputChange = (e) => {
        //console.log('InputCk2Value',e.target.value)
        this.setState({ InputCk2Value: e.target.checked });
    }
    handleck3InputChange = (e) => {
        //console.log('InputCk3Value',e.target.value)
        this.setState({ InputCk3Value: e.target.checked });
    }
    handleck4InputChange = (e) => {
        //console.log('InputCk4Value',e.target.value)
        this.setState({ InputCk4Value: e.target.checked });
    }
    handleck5InputChange = (e) => {
        //console.log('InputCk5Value',e.target.value)
        this.setState({ InputCk5Value: e.target.checked });
    }


    handlexl1InputChange = (e) => {
        //console.log('InputXl1Value',e.target.value)
        this.setState({ InputXl1Value: e.target.checked });
    }
    handlexl2InputChange = (e) => {
        //console.log('InputXl2Value',e.target.value)
        this.setState({ InputXl2Value: e.target.checked });
    }
    handlexl3InputChange = (e) => {
        //console.log('InputXl3Value',e.target.value)
        this.setState({ InputXl3Value: e.target.checked });
    }
    handlexl4InputChange = (e) => {
        //console.log('InputXl4Value',e.target.value)
        this.setState({ InputXl4Value: e.target.checked });
    }
    handlexl5InputChange = (e) => {
        //console.log('InputXl5Value',e.target.value)
        this.setState({ InputXl5Value: e.target.checked });
    }


    handlelength1InputChange = (e) => {
        //console.log('InputLength1Value',e.target.value)
        this.setState({ InputLength1Value: e.target.value });
    }
    handlelength2InputChange = (e) => {
        //console.log('InputLength2Value',e.target.value)
        this.setState({ InputLength2Value: e.target.value });
    }
    handlelength3InputChange = (e) => {
        //console.log('InputLength3Value',e.target.value)
        this.setState({ InputLength3Value: e.target.value });
    }
    handlelength4InputChange = (e) => {
        //console.log('InputLength4Value',e.target.value)
        this.setState({ InputLength4Value: e.target.value });
    }
    handlelength5InputChange = (e) => {
        //console.log('InputLength5Value',e.target.value)
        this.setState({ InputLength5Value: e.target.value });
    }

    handlelength6InputChange = (e) => {
        //console.log('InputLength6Value',e.target.value)
        this.setState({ InputLength6Value: e.target.value });
    }



    handlewidth1InputChange = (e) => {
        //console.log('InputWidth1Value',e.target.value)
        this.setState({ InputWidth1Value: e.target.value });
    }
    handlewidth2InputChange = (e) => {
        //console.log('InputWidth2Value',e.target.value)
        this.setState({ InputWidth2Value: e.target.value });
    }
    handlewidth3InputChange = (e) => {
        //console.log('InputWidth3Value',e.target.value)
        this.setState({ InputWidth3Value: e.target.value });
    }
    handlewidth4InputChange = (e) => {
        //console.log('InputWidth4Value',e.target.value)
        this.setState({ InputWidth4Value: e.target.value });
    }
    handlewidth5InputChange = (e) => {
        //console.log('InputWidth5Value',e.target.value)
        this.setState({ InputWidth5Value: e.target.value });
    }

    handlewidth6InputChange = (e) => {
        //console.log('InputWidth6Value',e.target.value)
        this.setState({ InputWidth6Value: e.target.value });
    }


    handleheigth1InputChange = (e) => {
        //console.log('InputHeith1Value',e.target.value)
        this.setState({ InputHeigth1Value: e.target.value });
    }
    handleheigth2InputChange = (e) => {
        //console.log('InputHeith2Value',e.target.value)
        this.setState({ InputHeigth2Value: e.target.value });
    }
    handleheigth3InputChange = (e) => {
        //console.log('InputHeith3Value',e.target.value)
        this.setState({ InputHeigth3Value: e.target.value });
    }
    handleheigth4InputChange = (e) => {
        //console.log('InputHeith4Value',e.target.value)
        this.setState({ InputHeigth4Value: e.target.value });
    }
    handleheigth5InputChange = (e) => {
        //console.log('InputHeith5Value',e.target.value)
        this.setState({ InputHeigth5Value: e.target.value });
    }

    handleheigth6InputChange = (e) => {
        //console.log('InputHeith6Value',e.target.value)
        this.setState({ InputHeigth6Value: e.target.value });
    }



    handlevolume1InputChange = (e) => {
        //console.log('InputVolume1Value',e.target.value)
        this.setState({ InputVolume1Value: e.target.value });
    }
    handlevolume2InputChange = (e) => {
        //console.log('InputVolume2Value',e.target.value)
        this.setState({ InputVolume2Value: e.target.value });
    }
    handlevolume3InputChange = (e) => {
        //console.log('InputVolume3Value',e.target.value)
        this.setState({ InputVolume3Value: e.target.value });
    }
    handlevolume4InputChange = (e) => {
        //console.log('InputVolume4Value',e.target.value)
        this.setState({ InputVolume4Value: e.target.value });
    }
    handlevolume5InputChange = (e) => {
        //console.log('InputVolume5Value',e.target.value)
        this.setState({ InputVolume5Value: e.target.value });
    }

    handlevolume6InputChange = (e) => {
        //console.log('InputVolume6Value',e.target.value)
        this.setState({ InputVolume6Value: e.target.value });
    }

    handleweight1InputChange = (e) => {
        //console.log('InputWeight1Value',e.target.value)
        this.setState({ InputWeight1Value: e.target.value });
    }
    handleweight2InputChange = (e) => {
        //console.log('InputWeight2Value',e.target.value)
        this.setState({ InputWeight2Value: e.target.value });
    }
    handleweight3InputChange = (e) => {
        //console.log('InputWeight3Value',e.target.value)
        this.setState({ InputWeight3Value: e.target.value });
    }
    handleweight4InputChange = (e) => {
        //console.log('InputWeight4Value',e.target.value)
        this.setState({ InputWeight4Value: e.target.value });
    }
    handleweight5InputChange = (e) => {
        //console.log('InputWeight5Value',e.target.value)
        this.setState({ InputWeight5Value: e.target.value });
    }

    handleweight6InputChange = (e) => {
        //console.log('InputWeight6Value',e.target.value)
        this.setState({ InputWeight6Value: e.target.value });
    }


    handleti1InputChange = (e) => {
        //console.log('InputTI1Value',e.target.value)
        this.setState({ InputTI1Value: e.target.value });
    }
    handleti2InputChange = (e) => {
        //console.log('InputTI2Value',e.target.value)
        this.setState({ InputTI2Value: e.target.value });
    }
    handleti3InputChange = (e) => {
        //console.log('InputTI3Value',e.target.value)
        this.setState({ InputTI3Value: e.target.value });
    }
    handleti4InputChange = (e) => {
        //console.log('InputTI4Value',e.target.value)
        this.setState({ InputTI4Value: e.target.value });
    }
    handleti5InputChange = (e) => {
        //console.log('InputTI5Value',e.target.value)
        this.setState({ InputTI5Value: e.target.value });
    }

    handleti6InputChange = (e) => {
        //console.log('InputTI6Value',e.target.value)
        this.setState({ InputTI6Value: e.target.value });
    }



    handlehi1InputChange = (e) => {
        //console.log('InputHI1Value',e.target.value)
        this.setState({ InputHI1Value: e.target.value });
    }
    handlehi2InputChange = (e) => {
        //console.log('InputHI2Value',e.target.value)
        this.setState({ InputHI2Value: e.target.value });
    }
    handlehi3InputChange = (e) => {
        //console.log('InputHI3Value',e.target.value)
        this.setState({ InputHI3Value: e.target.value });
    }
    handlehi4InputChange = (e) => {
        //console.log('InputHI4Value',e.target.value)
        this.setState({ InputHI4Value: e.target.value });
    }
    handlehi5InputChange = (e) => {
        //console.log('InputHI5Value',e.target.value)
        this.setState({ InputHI5Value: e.target.value });
    }

    handlehi6InputChange = (e) => {
        //console.log('InputHI6Value',e.target.value)
        this.setState({ InputHI6Value: e.target.value });
    }





    //显示弹框
    showModal = () => {
        this.setState({
            visible: true,
        });
    }
    // 隐藏弹出框
    hideModal = () => {
        this.setState({
            visible: false,
        });
    }
    // 新增
    addHandle = () => {
        this.setState({
            submitUrl:'/base/data/mdpackage/c',
            formTitle: '新增包装设置',
            resData: null
        });
        //清空input值
        // this.getFormData.map( (e, index) => {
        //     e.initialValue = ''
        // });
        this.showModal();//显示弹框
    }

    editGetInfoCallBack = (resData) =>{
        //console.log('resData=======================',resData)
        this.setState({
            submitUrl:'/base/data/mdpackage/u',
            resData: resData
        });

        // ********************
        //let p = this.state.resData.data;
        let p = resData.data;
        //console.log('p==============================',p)
        //console.log('p==============================',p.packageId)
        //console.log('p==============================',p.packageCode)
        //console.log('inputWeight4Value==============',p.inputWeight4Value)
        //console.log('inputWeight5Value==============',p.inputWeight5Value)

        this.state.packageId = p.packageId
        this.state.packageCode = p.packageCode
        this.state.packageDesc = p.packageDesc


        this.state.InputNum1Value = p.inputNum1Value
        this.state.InputNum2Value = p.inputNum2Value
        this.state.InputNum3Value = p.inputNum3Value
        this.state.InputNum4Value = p.inputNum4Value
        this.state.InputNum5Value = p.inputNum5Value

        this.state.InputBzms1Value = p.inputBzms1Value
        this.state.InputBzms2Value = p.inputBzms2Value
        this.state.InputBzms3Value = p.inputBzms3Value
        this.state.InputBzms4Value = p.inputBzms4Value
        this.state.InputBzms5Value = p.inputBzms5Value

        this.state.InputBzcl1Value = p.inputBzcl1Value
        this.state.InputBzcl2Value = p.inputBzcl2Value
        this.state.InputBzcl3Value = p.inputBzcl3Value
        this.state.InputBzcl4Value = p.inputBzcl4Value
        this.state.InputBzcl5Value = p.inputBzcl5Value
        this.state.InputBzcl1Value = 1
        console.log('this.state.InputBzcl1Value===',this.state.InputBzcl1Value)
        this.state.InputZx1Value = p.inputZx1Value
        this.state.InputZx2Value = p.inputZx2Value
        this.state.InputZx3Value = p.inputZx3Value
        this.state.InputZx4Value = p.inputZx4Value
        this.state.InputZx5Value = p.inputZx5Value



        this.state.InputRk1Value = p.inputRk1Value
        this.state.InputRk2Value = p.inputRk2Value
        this.state.InputRk3Value = p.inputRk3Value
        this.state.InputRk4Value = p.inputRk4Value
        this.state.InputRk5Value = p.inputRk5Value

        this.state.InputBh1Value = p.inputBh1Value
        this.state.InputBh2Value = p.inputBh2Value
        this.state.InputBh3Value = p.inputBh3Value
        this.state.InputBh4Value = p.inputBh4Value
        this.state.InputBh5Value = p.inputBh5Value


        this.state.InputCk1Value = p.inputCk1Value
        this.state.InputCk2Value = p.inputCk2Value
        this.state.InputCk3Value = p.inputCk3Value
        this.state.InputCk4Value = p.inputCk4Value
        this.state.InputCk5Value = p.inputCk5Value

        this.state.InputXl1Value = p.inputXl1Value
        this.state.InputXl2Value = p.inputXl2Value
        this.state.InputXl3Value = p.inputXl3Value
        this.state.InputXl4Value = p.inputXl4Value
        this.state.InputXl5Value = p.inputXl5Value

        this.state.InputLength1Value = p.inputLength1Value
        this.state.InputLength2Value = p.inputLength2Value
        this.state.InputLength3Value = p.inputLength3Value
        this.state.InputLength4Value = p.inputLength4Value
        this.state.InputLength5Value = p.inputLength5Value
        this.state.InputLength6Value = p.inputLength6Value


        this.state.InputWidth1Value = p.inputWidth1Value
        this.state.InputWidth2Value = p.inputWidth2Value
        this.state.InputWidth3Value = p.inputWidth3Value
        this.state.InputWidth4Value = p.inputWidth4Value
        this.state.InputWidth5Value = p.inputWidth5Value
        this.state.InputWidth6Value = p.inputWidth6Value



        this.state.InputHeigth1Value = p.inputHeigth1Value
        this.state.InputHeigth2Value = p.inputHeigth2Value
        this.state.InputHeigth3Value = p.inputHeigth3Value
        this.state.InputHeigth4Value = p.inputHeigth4Value
        this.state.InputHeigth5Value = p.inputHeigth5Value
        this.state.InputHeigth6Value = p.inputHeigth6Value


        this.state.InputVolume1Value = p.inputVolume1Value
        this.state.InputVolume2Value = p.inputVolume2Value
        this.state.InputVolume3Value = p.inputVolume3Value
        this.state.InputVolume4Value = p.inputVolume4Value
        this.state.InputVolume5Value = p.inputVolume5Value
        this.state.InputVolume6Value = p.inputVolume6Value

        this.state.InputWeight1Value = p.inputWeight1Value
        this.state.InputWeight2Value = p.inputWeight2Value
        this.state.InputWeight3Value = p.inputWeight3Value
        this.state.InputWeight4Value = p.inputWeight4Value
        this.state.InputWeight5Value = p.inputWeight5Value
        this.state.InputWeight6Value = p.inputWeight6Value

        this.state.InputTI1Value = p.inputTI1Value
        this.state.InputTI2Value = p.inputTI2Value
        this.state.InputTI3Value = p.inputTI3Value
        this.state.InputTI4Value = p.inputTI4Value
        this.state.InputTI5Value = p.inputTI5Value
        this.state.InputTI6Value = p.inputTI6Value


        this.state.InputHI1Value = p.inputHI1Value
        this.state.InputHI2Value = p.inputHI2Value
        this.state.InputHI3Value = p.inputHI3Value
        this.state.InputHI4Value = p.inputHI4Value
        this.state.InputHI5Value = p.inputHI5Value
        this.state.InputHI6Value = p.inputHI6Value


        this.showModal();//显示弹框
    }

    // 编辑信息
    editHandle = (rowObj) => {
        this.setState({
            resData: null,
            formTitle: '修改包装设置'
        });
        //根据对象的Id 属性获取对象信息


        let packageId = rowObj.packageId;

        const options= {
            url: '/base/data/mdpackage/r/'+packageId,
            type: 'get',//请求方式
            condition:{},
        };
        fetchData(this, options, this.editGetInfoCallBack);
    }

    handleSubmit = () => {
        let res = [...this.state]

        //console.log('result of form is :',res)
        const options= {
            url: '/base/data/mdpackage/u',
            condition:res[0]
            /*contentType:'application/x-www-form-urlencoded'*/
        };

        fetchData(this, options, (res) => {
            this.setState({
                resData: res
            });
            if (res.code == '0'){
                alert(res.msg);
            }else {
                this.refreshHandle();
            }
        });

    }


    // 删除包装设置
    deleteHandle = (rowObj) => {
        let packageId = rowObj.packageId;
        const options= {
            url: '/base/data/mdpackage/d',
            condition:{packageId:packageId},
            contentType:'application/x-www-form-urlencoded'
        };
        let _that = this;
        confirm({
            title: '您确定要删除吗？',
            onOk() {
                fetchData(_that, options, (resData) => {
                    _that.setState({
                        resData: resData
                    });
                    if (resData.code == '0'){
                        alert(resData.msg);
                    }else {
                        _that.refreshHandle();
                    }
                });
            },
            onCancel() {
                console.log("取消了删除操作")
            },
        });
    }

    // 新增/修改后的回调
    handleOk = () => {
        // let result = this.state.resData;
        this.hideModal();
        this.refreshHandle();
    }

    handleCancel = () => {
        this.hideModal();
    }


    //刷新List列表
    refreshHandle = () => {
        //console.log("刷新List列表")
        this.props.refreshHandle();
    }

    componentDidMount() {

    }


    render() {
        let getFormData3 = [
            {
                type : 'input',              //必填 输入框类型
                showName : '包装代码',           //必填  label标签名
                name : 'packageCode',          //必填  传递的key (不能一样)
                required: true,             //选填   是否一定要填写
                initialValue : ''
            },{
                type : 'input',
                showName : '包装描述',
                name : 'packageDesc',
                required: true,
                initialValue : ''
            }
        ];

        if(this.state.resData != null &&  this.state.resData.data != null){



/*            let user = this.state.resData.data;
            getFormData3.map( (e, index) => {
                e.initialValue = user[e.name]
            });*/
        } else {
            // this.getFormData.map( (e, index) => {
            //     if(e.type == 'select'){
            //         e.initialValue = '1'
            //     } else if (e.type == 'datapacker') {
            //         e.initialValue = ''
            //     }
            // });
        }


        let isHideLeft = this.props.isHideLeft;
        let formAlerSize = 'large'; //弹出框的大小 只有'large'和'small'两种值 （必须,输错时默认为large）


        /*------------------第二个表单的内容------------------------- */
        let getFormData2 = [
            {
                type : 'input',              //必填 输入框类型
                showName : '姓名',           //必填  label标签名
                name : 'packageCode',          //必填  传递的key (不能一样)
                initialValue : '默认值',    //选填   默认value
                required: true,             //选填   是否一定要填写
                disable: false               //选填   是否可编辑
            },
        ]

/*        if(this.state.resData != null &&  this.state.resData.data != null){
            let dock = this.state.resData.data;
            getFormData2.map( (e, index) => {
                e.initialValue = dock[e.name]
            });
        } else {
            getFormData2.map( (e, index) => {
                if(e.type == 'select'){
                    e.initialValue = '1'
                } else if (e.type == 'datapacker') {
                    e.initialValue = ''
                }
            });
        }*/

        let {containerHeight, containerWidth, subtractHeight, subtractWidth, ...props} = this.props;
        //subtractHeight 和 subtractWidth 是页面传过来的值
        if(typeof subtractHeight !== 'undefined'){
            containerHeight = containerHeight - subtractHeight;
        }
        if(typeof subtractWidth !== 'undefined'){
            containerWidth = containerWidth - subtractWidth;
        }
        let containerWidth_hide_left = containerWidth;
        //当左侧隐藏时，列表宽度加上左侧的宽度，
        // 当前this.props.isHideLeft 是从父组件ListBox传过来
        //this.props.isHideLeft 最顶级赋值是在页面 containers/Main/main.js
        if(this.state.isHideLeft){
            containerWidth_hide_left = containerWidth + 240;
        } else {
            containerWidth_hide_left = containerWidth
        }


        return(

              <Modal
                style={{top:'20px'}}
                visible={this.state.visible}
                title={this.state.formTitle ? this.state.formTitle : '填写表单'}
                onOk={this.handleOk}
                onCancel={this.handleCancel}
                width={this.formAlerSize=='large'?'850px':'400px'}
                footer=''
            >
                {/*<WrappedAdvancedSearchForm
                    ref="modalFrom"
                    title="月台信息"
                    formAlerSize={this.formAlerSize}
                    formUrl={this.state.submitUrl}
                    getFormData={this.getFormData}
                    closeBox={this.handleCancel}
                    checkBox={this.handleOk} />*/}

                <Tabs defaultActiveKey="1" onChange={this.callback} style={{height:'500px'}}>
                    <TabPane tab="Tab 1" key="1">
                    {/*   <WrappedAdvancedSearchForm
                            formAlerSize={formAlerSize}
                            formUrl="/base/data/mdpackage/u"
                            getFormData={getFormData3}
                            closeBox={this.handleCancel}
                            checkBox={this.handleOk}
                        />*/}

                        <div style={{transition: 'width 0.5s linear', height:containerHeight,width:containerWidth_hide_left,backgroundColor:'white',marginTop:'10px',padding:'20px 10px'}}>
                            <Row style={{marginBottom:'20px'}}>
                                <Col span={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >

                                            </label>
                                        </Col>

                                    </Row>
                                </Col>

                                <Col span={1} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                数量:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'80px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                包装描述:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'80px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                包装材料:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                装箱:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'70px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                入库标签:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'70px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                补货标签:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'70px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                出货标签:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>

                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                序列号:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>

                            </Row>

                            <Row style={{marginBottom:'20px'}}>

                                <Col span={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                主单位:
                                            </label>
                                        </Col>

                                    </Row>
                                </Col>

                                <Col span={2} offset={1}>
                                    <Row>
                                    <Col span={2}>
                                        <Input
                                            id='num1'
                                            name='num1'
                                            disabled={false}
                                            style={{height:'28px',width:'50px'}}
                                            placeholder="请输入"
                                            onChange={this.handlenum1InputChange}
                                            defaultValue={this.state.InputNum1Value}
                                        />
                                    </Col>
                                    </Row>
                                </Col>

                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='bzms1'
                                                name='bzms1'
                                                disabled={false}
                                                style={{height:'28px',width:'60px'}}
                                                placeholder="请输入"
                                                onChange={this.handlebzms1InputChange}
                                                defaultValue={this.state.InputBzms1Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Select size={'default'}
                                                    id='bzcl1'
                                                    name='bzcl1'
                                                    //defaultValue={{ key: this.state.InputBzcl1Value }}
                                                    disabled={false}
                                                    style={{height:'28px',width:'80px'}}
                                                    placeholder="请输入"
                                                    onChange={this.handlebzcl1InputChange}
                                                    //selectedIndex={2}
                                                    showSearch
                                                    //onSelect={this.state.InputBzcl1Value}
                                                    //selectedIndex={this.state.InputBzcl1Value-1}

                                            >
                                                <Option value={'1'} >纸盒</Option>
                                                <Option value={'2'} >塑料袋</Option>
                                            </Select>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'zx1' name = 'zx1' checked={this.state.InputZx1Value} onChange={this.handlezx1InputChange}>
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'rk1' name = 'rk1'  checked={this.state.InputRk1Value} onChange={this.handlerk1InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'bh1' name = 'bh1' checked={this.state.InputBh1Value} onChange={this.handlebh1InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox  id = 'ck1' name = 'ck1' checked={this.state.InputCk1Value} onChange={this.handleck1InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={1} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'xl1' name = 'xl1' checked={this.state.InputXl1Value} onChange={this.handlexl1InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                            </Row>
                            <Row style={{marginBottom:'20px'}}>

                                <Col span={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                内包装:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>


                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='num2'
                                                name='num2'
                                                disabled={false}
                                                style={{height:'28px',width:'50px'}}
                                                placeholder="请输入"
                                                onChange={this.handlenum2InputChange}
                                                defaultValue={this.state.InputNum2Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>

                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='bzms2'
                                                name='bzms2'
                                                disabled={false}
                                                style={{height:'28px',width:'60px'}}
                                                placeholder="请输入"
                                                onChange={this.handlebzms2InputChange}
                                                defaultValue={this.state.InputBzms2Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Select size={'default'}
                                                    id='bzcl2'
                                                    name='bzcl2'
                                                    disabled={false}
                                                    style={{height:'28px',width:'80px'}}
                                                    placeholder="请输入"
                                                    onChange={this.handlebzcl2InputChange}
                                                    showSearch
                                                    //defaultValue={{ key: this.state.InputBzcl2Value }}
                                            >
                                                <Option value={'1'} >纸盒</Option>
                                                <Option value={'2'}>塑料袋</Option>
                                            </Select>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox        id = 'zx2' name = 'zx2' checked={this.state.InputZx2Value} onChange={this.handlezx2InputChange}                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox   id = 'rk2' name = 'rk2' checked={this.state.InputRk2Value}  onChange={this.handlerk2InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox  id = 'bh2' name = 'bh2' checked={this.state.InputBh2Value}  onChange={this.handlebh2InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'ck2' name = 'ck2'  checked={this.state.InputCk2Value} onChange={this.handleck2InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={1} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'xl2' name = 'xl2' checked={this.state.InputXl2Value} onChange={this.handlexl2InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                            </Row>

                            <Row style={{marginBottom:'20px'}}>
                                <Col span={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                箱:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>


                                <Col span={2} offset={1}>
                                <Row>
                                <Col span={2}>
                                    <Input
                                        id='num3'
                                        name='num3'
                                        disabled={false}
                                        style={{height:'28px',width:'50px'}}
                                        placeholder="请输入"
                                        onChange={this.handlenum3InputChange}
                                        defaultValue={this.state.InputNum3Value}
                                    />
                                </Col>
                                </Row>
                                </Col>

                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='bzms3'
                                                name='bzms3'
                                                disabled={false}
                                                style={{height:'28px',width:'60px'}}
                                                placeholder="请输入"
                                                onChange={this.handlebzms3InputChange}
                                                defaultValue={this.state.InputBzms3Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Select size={'default'}
                                                    id='bzcl3'
                                                    name='bzcl3'
                                                    disabled={false}
                                                    style={{height:'28px',width:'80px'}}
                                                    placeholder="请输入"
                                                    onChange={this.handlebzcl3InputChange}
                                                    showSearch
                                                    //defaultValue={{ key: this.state.InputBzcl3Value }}
                                            >
                                                <Option value={'1'}>纸盒</Option>
                                                <Option value={'2'}>塑料袋</Option>
                                            </Select>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox    id = 'zx3' name = 'zx3' checked={this.state.InputZx3Value}  onChange={this.handlezx3InputChange}>
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'rk3' name = 'rk3' checked={this.state.InputRk3Value}  onChange={this.handlerk3InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'bh3' name = 'bh3' checked={this.state.InputBh3Value}   onChange={this.handlebh3InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'ck3' name = 'ck3' checked={this.state.InputCk3Value}   onChange={this.handleck3InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={1} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'xl3' name = 'xl3' checked={this.state.InputXl3Value}  onChange={this.handlexl3InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                            </Row>
                            <Row style={{marginBottom:'20px'}}>
                                <Col span={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                栈板:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>

                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='num4'
                                                name='num4'
                                                disabled={false}
                                                style={{height:'28px',width:'50px'}}
                                                placeholder="请输入"
                                                onChange={this.handlenum4InputChange}
                                                defaultValue={this.state.InputNum4Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>



                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='bzms4'
                                                name='bzms4'
                                                disabled={false}
                                                style={{height:'28px',width:'60px'}}
                                                placeholder="请输入"
                                                onChange={this.handlebzms4InputChange}
                                                defaultValue={this.state.InputBzms4Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Select size={'default'}
                                                    id='bzcl4'
                                                    name='bzcl4'
                                                    disabled={false}
                                                    style={{height:'28px',width:'80px'}}
                                                    placeholder="请输入"
                                                    onChange={this.handlebzcl4InputChange}
                                                    showSearch
                                                    //defaultValue={{ key: this.state.InputBzcl4Value }}
                                            >
                                                <Option value={'1'}>纸盒</Option>
                                                <Option value={'2'}>塑料袋</Option>
                                            </Select>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox     id = 'zx4' name = 'zx4' checked={this.state.InputZx4Value}  onChange={this.handlezx4InputChange} >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'rk4' name = 'rk4' checked={this.state.InputRk4Value}  onChange={this.handlerk4InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox  id = 'bh4' name = 'bh4' checked={this.state.InputBh4Value}  onChange={this.handlebh4InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox  id = 'ck4' name = 'ck4' checked={this.state.InputCk4Value}  onChange={this.handleck4InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={1} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'xl4' name = 'xl4' checked={this.state.InputXl4Value}  onChange={this.handlexl4InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                            </Row>
                            <Row style={{marginBottom:'20px'}}>
                                <Col span={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                其他:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>


                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='num5'
                                                name='num5'
                                                disabled={false}
                                                style={{height:'28px',width:'50px'}}
                                                placeholder="请输入"
                                                onChange={this.handlenum5InputChange}
                                                defaultValue={this.state.InputNum5Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>

                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='bzms5'
                                                name='bzms5'
                                                disabled={false}
                                                style={{height:'28px',width:'60px'}}
                                                placeholder="请输入"
                                                onChange={this.handlebzms5InputChange}
                                                defaultValue={this.state.InputBzms5Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Select size={'default'}
                                                    id='bzcl5'
                                                    name='bzcl5'
                                                    disabled={false}
                                                    style={{height:'28px',width:'80px'}}
                                                    placeholder="请输入"
                                                    onChange={this.handlebzcl5InputChange}
                                                    showSearch
                                                    //defaultValue={{ key: this.state.InputBzcl5Value }}
                                            >
                                                <Option value={'1'}>纸盒</Option>
                                                <Option value={'2'}>塑料袋</Option>
                                            </Select>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox  id = 'zx5' name = 'zx5' checked={this.state.InputZx5Value}  onChange={this.handlezx5InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox  id = 'rk5' name = 'rk5' checked={this.state.InputRk5Value}  onChange={this.handlerk5InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox  id = 'bh5' name = 'bh5' checked={this.state.InputBh5Value}  onChange={this.handlebh5InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'ck5' name = 'ck5' checked={this.state.InputCk5Value}  onChange={this.handleck5InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={1} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <p style={{ marginBottom: '20px' }}>
                                                <Checkbox id = 'xl5' name = 'xl5' checked={this.state.InputXl5Value}  onChange={this.handlexl5InputChange}
                                                >
                                                </Checkbox>
                                            </p>
                                        </Col>
                                    </Row>
                                </Col>
                            </Row>
                            <Row style={{marginBottom:'20px'}}>
                                <Col span={2} offset={10}>
                                    <Button type='primary' onClick={this.handleSubmit}>确定</Button>
                                </Col>
                                <Col span={2} >
                                    <Button type='default'  onClick={this.handleCancel}>取消</Button>
                                </Col>
                            </Row>


                        </div>





                    </TabPane>
                    <TabPane tab="Tab 2" key="2">
                      {/*  {<WrappedAdvancedSearchForm
                            formAlerSize={formAlerSize}
                            formUrl="/base/data/mdpackage/u"
                            getFormData={getFormData2}
                            closeBox={this.handleCancel}
                            checkBox={this.handleOk}
                        />}*/}

                        <div style={{transition: 'width 0.5s linear', height:containerHeight,width:containerWidth_hide_left,backgroundColor:'white',marginTop:'10px',padding:'20px 10px'}}>
                            <Row style={{marginBottom:'20px'}}>
                                <Col span={2}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                主单位:
                                            </label>
                                        </Col>

                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'middle',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                长度:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'middle',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                宽度:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'middle',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                高度:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'middle',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                体积:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'middle',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                重量:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'middle',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                TI:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={1} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'middle',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                HI:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>

                            </Row>

                            <Row style={{marginBottom:'20px'}}>
                                <Col span={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'middle',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                主单位:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>

                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={3}>
                                            <Input
                                                id='length1'
                                                name='length1'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlelength1InputChange}
                                                defaultValue={this.state.InputLength1Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>



                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='width1'
                                                name='width1'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlewidth1InputChange}
                                                defaultValue={this.state.InputWidth1Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='heigth1'
                                                name='heigth1'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleheigth1InputChange}
                                                defaultValue={this.state.InputHeigth1Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='volume1'
                                                name='volume1'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlevolume1InputChange}
                                                defaultValue={this.state.InputVolume1Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='weight1'
                                                name='weight1'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleweight1InputChange}
                                                defaultValue={this.state.InputWeight1Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='ti1'
                                                name='ti1'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleti1InputChange}
                                                defaultValue={this.state.InputTI1Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='hi1'
                                                name='hi1'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlehi1InputChange}
                                                defaultValue={this.state.InputHI1Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                             </Row>

                            <Row style={{marginBottom:'20px'}}>
                                <Col span={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                内包装:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>


                                <Col span={2} offset={1}>
                                    <Row>
                                    <Col span={3}>
                                        <Input
                                            id='length2'
                                            name='length2'
                                            disabled={false}
                                            style={{height:'28px',width:'80px'}}
                                            placeholder="请输入"
                                            onChange={this.handlelength2InputChange}
                                            defaultValue={this.state.InputLength2Value}
                                        />
                                    </Col>
                                    </Row>
                                </Col>




                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='width2'
                                                name='width2'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlewidth2InputChange}
                                                defaultValue={this.state.InputWidth2Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='heigth2'
                                                name='heigth2'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleheigth2InputChange}
                                                defaultValue={this.state.InputHeigth2Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='volume2'
                                                name='volume2'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlevolume2InputChange}
                                                defaultValue={this.state.InputVolume2Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='weight2'
                                                name='weight2'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleweight2InputChange}
                                                defaultValue={this.state.InputWeight2Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='ti2'
                                                name='ti2'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleti2InputChange}
                                                defaultValue={this.state.InputTI2Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='hi2'
                                                name='hi2'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlehi2InputChange}
                                                defaultValue={this.state.InputHI2Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                            </Row>

                            <Row style={{marginBottom:'20px'}}>
                                <Col span={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                箱:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>


                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={3}>
                                            <Input
                                                id='length3'
                                                name='length3'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlelength3InputChange}
                                                defaultValue={this.state.InputLength3Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>


                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='width3'
                                                name='width3'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlewidth3InputChange}
                                                defaultValue={this.state.InputWidth3Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='heigth3'
                                                name='heigth3'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleheigth3InputChange}
                                                defaultValue={this.state.InputHeigth3Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='volume3'
                                                name='volume3'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlevolume3InputChange}
                                                defaultValue={this.state.InputVolume3Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='weight3'
                                                name='weight3'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleweight3InputChange}
                                                defaultValue={this.state.InputWeight3Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='ti3'
                                                name='ti3'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleti3InputChange}
                                                defaultValue={this.state.InputTI3Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='hi3'
                                                name='hi3'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlehi3InputChange}
                                                defaultValue={this.state.InputHI3Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                            </Row>

                            <Row style={{marginBottom:'20px'}}>
                                <Col span={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                栈板:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>

                                <Col span={2} offset={1}>
                                    <Row>
                                    <Col span={3}>
                                        <Input
                                            id='length4'
                                            name='length4'
                                            disabled={false}
                                            style={{height:'28px',width:'80px'}}
                                            placeholder="请输入"
                                            onChange={this.handlelength4InputChange}
                                            defaultValue={this.state.InputLength4Value}
                                        />
                                    </Col>
                                    </Row>
                                </Col>


                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='width4'
                                                name='width4'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlewidth4InputChange}
                                                defaultValue={this.state.InputWidth4Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='heigth4'
                                                name='heigth4'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleheigth4InputChange}
                                                defaultValue={this.state.InputHeigth4Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='volume4'
                                                name='volume4'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlevolume4InputChange}
                                                defaultValue={this.state.InputVolume4Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='weight4'
                                                name='weight4'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleweight4InputChange}
                                                defaultValue={this.state.InputWeight4Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='ti4'
                                                name='ti4'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleti4InputChange}
                                                defaultValue={this.state.InputTI4Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='hi4'
                                                name='hi4'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlehi4InputChange}
                                                defaultValue={this.state.InputHI4Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                            </Row>

                            <Row style={{marginBottom:'20px'}}>
                                <Col span={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'70px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                栈板(本身):
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>

                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={3}>
                                            <Input
                                                id='length5'
                                                name='length5'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlelength5InputChange}
                                                defaultValue={this.state.InputLength5Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>


                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='width5'
                                                name='width5'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlewidth5InputChange}
                                                defaultValue={this.state.InputWidth5Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='heigth5'
                                                name='heigth5'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleheigth5InputChange}
                                                defaultValue={this.state.InputHeigth5Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='volume5'
                                                name='volume5'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlevolume5InputChange}
                                                defaultValue={this.state.InputVolume5Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='weight5'
                                                name='weight5'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleweight5InputChange}
                                                defaultValue={this.state.InputWeight5Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='ti5'
                                                name='ti5'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleti5InputChange}
                                                defaultValue={this.state.InputTI5Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='hi5'
                                                name='hi5'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlehi5InputChange}
                                                defaultValue={this.state.InputHI5Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                            </Row>

                            <Row style={{marginBottom:'20px'}}>
                                <Col span={1}>
                                    <Row>
                                        <Col span={2}>
                                            <label
                                                htmlFor="input"
                                                style={{
                                                    height:'28px',
                                                    width:'50px',
                                                    display:'block',
                                                    lineHeight:'28px',
                                                    textAlign:'right',
                                                    whiteSpace: 'nowrap',
                                                    textOverflow:'ellipsis',
                                                    overflow:'hidden',
                                                    paddingRight:'4px'
                                                }}
                                            >
                                                其他:
                                            </label>
                                        </Col>
                                    </Row>
                                </Col>

                                <Col span={2} offset={1}>
                                    <Row>
                                    <Col span={3}>
                                        <Input
                                            id='length6'
                                            name='length6'
                                            disabled={false}
                                            style={{height:'28px',width:'80px'}}
                                            placeholder="请输入"
                                            onChange={this.handlelength6InputChange}
                                            defaultValue={this.state.InputLength6Value}
                                        />
                                    </Col>
                                    </Row>
                                </Col>

                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='width6'
                                                name='width6'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlewidth6InputChange}
                                                defaultValue={this.state.InputWidth6Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='heigth6'
                                                name='heigth6'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleheigth6InputChange}
                                                defaultValue={this.state.InputHeigth6Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='volume6'
                                                name='volume6'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlevolume6InputChange}
                                                defaultValue={this.state.InputVolume6Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='weight6'
                                                name='weight6'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleweight6InputChange}
                                                defaultValue={this.state.InputWeight6Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='ti6'
                                                name='ti6'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handleti6InputChange}
                                                defaultValue={this.state.InputTI6Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                                <Col span={2} offset={1}>
                                    <Row>
                                        <Col span={2}>
                                            <Input
                                                id='hi6'
                                                name='hi6'
                                                disabled={false}
                                                style={{height:'28px',width:'80px'}}
                                                placeholder="请输入"
                                                onChange={this.handlehi6InputChange}
                                                defaultValue={this.state.InputHI6Value}
                                            />
                                        </Col>
                                    </Row>
                                </Col>
                            </Row>


                            <Row style={{marginBottom:'20px'}}>
                                <Col span={2} offset={10}>
                                    <Button type='primary' onClick={this.handleSubmit}>确定</Button>
                                </Col>
                                <Col span={2} >
                                    <Button type='default' onClick={this.handleCancel}>取消</Button>
                                </Col>
                            </Row>


                        </div>
                    </TabPane>
                </Tabs>
            </Modal>
        )
    }

}
